<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>他人代充-VIP会员时长</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0,viewport-fit=cover">
    <meta name="wechat-enable-text-zoom-em" content="true">
    <script type="text/javascript" src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
    <style type="text/css">
        body{background-color:#171128;margin:0;padding:0;font-size:14px;color:#fff;padding:10px;}
        .msg {margin-top:50px;background-color:#251D3B;height:100px;width:100%;text-align:center;line-height:80px;font-size:large;border-radius:6px}
        .button {border-radius:6px;background-color:#836DFF;height:50px;line-height:50px;font-size:large;width:100%;margin-top:20px;text-align:center;}
        .pay {width:100%;text-align:center;}
        .payinfo {text-align:center;color:#FFC700;line-height:50px;font-size:large;}
        .infotxt {font-size:small;color:#7A767B}
    </style>
</head>
<body>
<!--{if ($state ?? '') == 'n'}-->
<div class="msg">{$msg ?? ''}</div>
<!--{else}-->
<div class="pay">
    <img src="/api.payqr/index?p={$paylink ?? ''}&time={$Time}">
    <div class="payinfo">￥ {$amount ?? 0} 元</div>
    <div class="infotxt">如完成支付请点击“确认返回”</div>
</div>
<!--{/if}-->
<div data-key="back" class="button">确认返回</div>
<script type="text/javascript">
$(function(){
    $('div[data-key="back"]').click(function(){
        Ulink = '/pages/my/index';
        wx.miniProgram.reLaunch({
            url : Ulink,
        });
    });
});
</script>
</body>
</html>